/**
 * Copyright &copy; 2015-2020 <a href="http://www.easyhis.com/">easyhis</a> All rights reserved.
 */
package com.easy.dfcapi.entity;

import com.easy.common.utils.excel.annotation.ExcelField;
import com.easy.core.persistence.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * 厂家的活动视频Entity
 * @author waylen chi
 * @version 2018-01-11
 */
public class ApiActivityVideo extends BaseEntity<ApiActivityVideo> {
	
	private static final long serialVersionUID = 1L;
	private String id;		// UUID
	private Integer videoId;		// 视频ID，自增
	private Integer enrollId;		// 活动ID
	private String videoSubject;		// 视频主题
	private String videoDesc;		// 视频描述
	private String coverPlan;		// 视频封面
	private String videoUrl;		// 视频地址
	
	public ApiActivityVideo() {
		super();
	}

	public ApiActivityVideo(String id){
		this.id = id;
	}

	@NotNull(message="视频ID，自增不能为空")
	@ExcelField(title="视频ID，自增", align=2, sort=0)
	public Integer getVideoId() {
		return videoId;
	}

	public void setVideoId(Integer videoId) {
		this.videoId = videoId;
	}
	
	@ExcelField(title="活动ID", align=2, sort=1)
	public Integer getEnrollId() {
		return enrollId;
	}

	public void setEnrollId(Integer enrollId) {
		this.enrollId = enrollId;
	}
	
	@ExcelField(title="视频主题", align=2, sort=2)
	public String getVideoSubject() {
		return videoSubject;
	}

	public void setVideoSubject(String videoSubject) {
		this.videoSubject = videoSubject;
	}
	
	@ExcelField(title="视频描述", align=2, sort=3)
	public String getVideoDesc() {
		return videoDesc;
	}

	public void setVideoDesc(String videoDesc) {
		this.videoDesc = videoDesc;
	}
	
	@ExcelField(title="视频封面", align=2, sort=4)
	public String getCoverPlan() {
		return coverPlan;
	}

	public void setCoverPlan(String coverPlan) {
		this.coverPlan = coverPlan;
	}
	
	@ExcelField(title="视频地址", align=2, sort=5)
	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}
	
}